﻿using Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
    public interface IProductService
    {
        /// <summary>
        /// 分页查询货品列表（支持编码/名称、单位筛选）
        /// </summary>
        Task<PagedViewModel<PurchaseOrderDetailDTO>> GetProductListAsync(
            string? codeOrName = null,
            string? unit = null,
            int page = 1,
            int size = 10);
    }
}
